<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="common" uri="/common-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="css/style.css" media="screen">
<script type="text/javascript" src="js/jquery-1.6.min.js"></script>
<script type="text/javascript" src="js/survey/table.js"></script>
<script type="text/javascript" src="js/survey/menu.js"></script>
<script type="text/javascript" src="js/survey/page.js"></script>
<script type="text/javascript">
	function doSubmit() {
		$("#editEnterpriseCustomerForm").submit();
	}
</script>
</head>

<body>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td height="30" background="images/tab_05.gif">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="12" height="30"><img src="images/tab_03.gif" width="12" height="30" /></td>
						<td>
							<table width="100%" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td width="46%" valign="middle">
										<table width="100%" border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td width="5%">
													<div align="center">
														<img src="images/tb.gif" width="16" height="16" />
													</div>
												</td>
												<td width="95%" class="STYLE1"><span class="STYLE3">你当前的位置</span>：[业务中心]-[我的邮件]</td>
											</tr>
										</table>
									</td>
									<td width="54%">
										<table border="0" align="right" cellpadding="0" cellspacing="0">
											<tr>
												<td width="60">
													
												</td>
												<td width="60">
													
												</td>
												<td width="60">
													
												</td>
												<td width="52">
													
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
						<td width="16"><img src="images/tab_07.gif" width="16" height="30" /></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="8" background="images/tab_12.gif">&nbsp;</td>
						<td>
							<s:form action="editEnterpriseCustomer.do" id="editEnterpriseCustomerForm">
							<s:token/>
							<s:hidden name="customerVo.id"/>
							<table cellpadding="0" cellspacing="1" width="100%">
								<tr height="20">
									<td>&nbsp;</td>
								</tr>
								<tr>
									<td align="center">
										<table cellpadding="0" cellspacing="1" class="tableForm" width="80%">
											<thead>
												<tr>
													<th colspan="10">企业客户信息资料</th>
												</tr>
											</thead>
											<tbody>
											<tr>
												<th>客户编号：</th>
												<td><s:textfield name="customerVo.custNo" cssStyle="width:80" cssClass="inputtext"/></td>
												<th>客户名称：</th>
												<td colspan="3"><s:textfield name="customerVo.custName" cssStyle="width:280" cssClass="inputtext"/></td>
												<th>公司规模：</th>
												<td><s:textfield name="customerVo.companySize" cssStyle="width:100" cssClass="inputtext"/></td>
												<th>从事行业：</th>
												<td><s:textfield name="customerVo.industry" cssStyle="width:100" cssClass="inputtext"/></td>
											</tr>
											<tr>
												<th>公司法人：</th>
												<td><s:textfield name="customerVo.legalPerson" cssStyle="width:80" cssClass="inputtext"/></td>
												<th>电话：</th>
												<td><s:textfield name="customerVo.telphone" cssStyle="width:100" cssClass="inputtext"/></td>
												<th>传真：</th>
												<td><s:textfield name="customerVo.fax" cssStyle="width:100" cssClass="inputtext"/></td>
												<th>邮箱：</th>
												<td><s:textfield name="customerVo.email" cssStyle="width:120" cssClass="inputtext"/></td>
												<th>网址：</th>
												<td><s:textfield name="customerVo.www" cssStyle="width:120" cssClass="inputtext"/></td>
											</tr>
											<tr>
												<th>办公地址：</th>
												<td colspan="9"><s:textfield name="customerVo.officeAddress" cssStyle="width:480" cssClass="inputtext"/></td>
											</tr>
											<tr>
												<th>介绍：</th>
												<td colspan="9"><s:textfield name="customerVo.describ" cssStyle="width:480" cssClass="inputtext"/></td>
											</tr>
											</tbody>
											<tr>
												<td align="center" colspan="10"><input type="button" value="确认" onclick="doSubmit();"/></td>
											</tr>
											<tr height="20">
												<td align="center" colspan="10">&nbsp;</td>
											</tr>
											<tr>
												<td colspan="10" style="border-top: #fff 1px solid; trepeat-x 0px 100%" valign="bottom" align="left">
													<div class="menub1_1" id="menu_1_1" onclick="showtabs(1,1,2);">账户管理</div>
													<div class="menub1_2" id="menu_1_2" onclick="showtabs(1,2,2);">用户管理</div>
												</td>
											</tr>
											<tr height="180">
												<td colspan="10">
													<div class="menugtab" id="menutab_1_1" style="height: 235;overflow: scroll;">
														<table width="100%" border="0" cellspacing="0" cellpadding="0">
															<tr>
																<td height="30" background="images/tab_05.gif">
																	<table width="100%" border="0" cellspacing="0" cellpadding="0">
																		<tr>
																			<td width="12" height="30"><img src="images/tab_03.gif" width="12" height="30" /></td>
																			<td>
																				<table width="100%" border="0" cellspacing="0" cellpadding="0">
																					<tr>
																						<td width="54%">
																							<table border="0" align="left" cellpadding="0" cellspacing="0">
																								<tr>
																									<td width="80">
																										<table width="90%" border="0" cellpadding="0" cellspacing="0">
																											<tr>
																												<td class="STYLE1">
																													<div align="center">
																														<img src="images/22.gif" width="14" height="14" />
																													</div>
																												</td>
																												<td class="STYLE1"><div align="center"><a href="findEnterpriseAccount.do?accountVo.custId=<s:property value="customerVo.id"/>">新增</a></div></td>
																											</tr>
																										</table>
																									</td>
																								</tr>
																							</table>
																						</td>
																					</tr>
																				</table>
																			</td>
																			<td width="16"><img src="images/tab_07.gif" width="16" height="30" /></td>
																		</tr>
																	</table>
																</td>
															</tr>
															<tr>
																<td>
																	<table width="100%" border="0" cellspacing="0" cellpadding="0">
																		<tr>
																			<td width="8" background="images/tab_12.gif">&nbsp;</td>
																			<td>
																				<table cellpadding="0" cellspacing="1" class="tableList">
																					<thead>
																						<tr>
																							<td width="5%">
																								<div>序号</div>
																							</td>
																							<td>
																								<div>账户类型</div>
																							</td>
																							<td>
																								<div>银行名称</div>
																							</td>
																							<td>
																								<div>账户号</div>
																							</td>
																							<td>
																								<div>基本操作</div>
																							</td>
																						</tr>
																					</thead>
																					<tbody>
																						<s:set name="seq" value="0"/>
																						<s:iterator id="vo" value="customerVo.accountVos">
																						<s:set name="seq" value="#seq+1"/>
																						<tr>
																							<td>
																								<div align="left"><s:property value="#seq"/></div>
																							</td>
																							<td>
																								<div align="left"><s:property value="#vo.accountType"/></div>
																							</td>
																							<td>
																								<div align="left"><s:property value="#vo.bankName"/></div>
																							</td>
																							<td>
																								<div align="left"><s:property value="#vo.account"/></div>
																							</td>
																							<td>
																								<div align="center">
																									<a href='findEnterpriseAccount.do?accountVo.id=<s:property value="#vo.id"/>&accountVo.custId=<s:property value="customerVo.id"/>'><img src="images/edt.gif" width="16" height="16" />[编辑]</a>&nbsp; &nbsp;
																									<a href="javascript:void(0)" onclick='executeMethod("deleteEnterpriseAccount.do", "accountVoId", <s:property value="#vo.id"/>, "listForm");'><img src="images/del.gif" width="16" height="16" />[删除]</a>
																								</div>
																							</td>
																						</tr>
																						</s:iterator>
																					</tbody>
																				</table>
																			</td>
																			<td width="8" background="images/tab_15.gif">&nbsp;</td>
																		</tr>
																	</table>
																</td>
															</tr>
															<tr>
																<td height="35" background="images/tab_19.gif">
																	<table width="100%" border="0" cellspacing="0" cellpadding="0">
																		<tr>
																			<td width="12" height="35"><img src="images/tab_18.gif" width="12" height="35" /></td>
																			<td>&nbsp;</td>
																			<td width="16"><img src="images/tab_20.gif" width="16" height="35" /></td>
																		</tr>
																	</table>
																</td>
															</tr>
														</table>
													</div>
													<div class="menugtab" id="menutab_1_2" style="display: none; height: 235">
														
													</div>   													
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
							</s:form>
							<s:form action="" id="listForm">
							<s:hidden name="accountVo.id" id="accountVoId"/>
							<s:hidden name="customerVo.id"/>
							<s:token/>
							</s:form>
						</td>
						<td width="8" background="images/tab_15.gif">&nbsp;</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td height="35" background="images/tab_19.gif">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="12" height="35"><img src="images/tab_18.gif" width="12" height="35" /></td>
						<td>
							&nbsp;
						</td>
						<td width="16"><img src="images/tab_20.gif" width="16" height="35" /></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</body>
</html>